<?php if($v->getId()!=sfContext::getInstance()->getUser()->getAttribute( 'user_id', null, 'sfGuardSecurityUser' )):?>
        <div class="center_block_back">
           <div class="center_block_cone1">
                <div class="center_block_cone2">

                    <div class="center_block_cone3">
                        <div class="center_block_cone4">
                        	<div class="profile_icon">
                                <table border="0" cellpadding="0" cellspacing="0">
                                  <tbody><tr>
                                    <td width="1%">
                                    <?php echo link_to(image_tag('/images/icon_smile.png'),'@smile?id='.$v->getId()) ?>
                                    <a href="#"><img src="" alt=""></a></td>
                                    <td class="ico_txt_otstup"><?php echo link_to(__('Подмигнуть'),'@smile?id='.$v->getId())?></td>
                                  </tr>

                                </tbody></table>
                                
                                <table border="0" cellpadding="0" cellspacing="0">
                                  <tbody><tr>
                                    <td width="1%"><?php echo link_to(my_image_tag('/images/icon_photo.png','title="'.__('Фотоальбомы').'"'), '@user_gallery_list?id='.$v->getId()) ?></td>
                                    <td class="ico_txt_otstup"><?php echo link_to(__('Фотоальбомы'), '@user_gallery_list?id='.$v->getId())?></td>
                                  </tr>
                                </tbody></table>
                                
                                <table border="0" cellpadding="0" cellspacing="0">

                                  <tbody><tr>
                                    <td width="1%"><?php echo link_to(my_image_tag('/images/icon_black.png','title="'.__('Добавить в черный список').'"'), '@black_list_add?id='.$v->getId()) ?></td>
                                    <td class="ico_txt_otstup"><?php echo link_to(__('Занести в черный список'), '@black_list_add?id='.$v->getId())?></td>
                                  </tr>
                                </tbody></table>
                                
                                
                                <?php if ($v->getIsVip()==true): ?>
                                <table border="0" cellpadding="0" cellspacing="0">
                                  <tbody><tr>
                                  <?php  if (sfConfig::get('app_mail_personal')==true):?>
                                    <td width="1%">
                                    <?php if(sfConfig::get('app_use_frame')==true):?>
                                     <?php use_helper("Highslide") ?>
                                     <?php  echo highslide_iframe('mailbox/personal?id='.$v->getId(), my_image_tag('/images/ico_my-mail.gif','title="'.__('Написать сообщение').'"'), $options = array()) ?>
                                    <?php else:?>
                                    <?php echo link_to(my_image_tag('/images/icon_message.png','title="'.__('Написать сообщение').'"'),'mailbox/personal?id='.$v->getId(),array 
									        ( 
									            'popup' => array 
									            ( 
									                'Popup title', 
									                'width=450, height=640, left=320, top=0', 
									            ) 
									        ) 
									)?>  
                                 <?php endif ?>
                                  </td>
                                    <td class="ico_txt_otstup">
                                     <?php if(sfConfig::get('app_use_frame')==true):?>
                                     <?php use_helper("Highslide") ?>
                                     <?php  echo highslide_iframe('mailbox/personal?id='.$v->getId(), __('Написать сообщение'), $options = array()) ?>
                                     <?php else: ?>
                                    <?php echo link_to(__('Написать сообщение'),'mailbox/personal?id='.$v->getId(),array 
									        ( 
									            'popup' => array 
									            ( 
									                'Popup title', 
									                'width=450, height=640, left=320, top=0', 
									            ) 
									        ) 
									)?> 
									<?php endif ?>
                                    </td>
                                  <?php else: ?>
                                  
                                    <td width="1%"><?php echo link_to(my_image_tag('/images/icon_message.png','title="'.__('Написать сообщение').'"'), '@mailbox_send?id='.$v->getId()) ?></td>
                                    <td class="ico_txt_otstup"><?php echo link_to(__('Написать письмо'), '@mailbox_send?id='.$v->getId())?></td>                                  
                                   <?php endif ?>
                                  
                                  </tr>
                                </tbody></table>
                                <?php endif ?>
                                
                                <table border="0" cellpadding="0" cellspacing="0">
                                  <tbody><tr>
                                    <td width="1%"><?php echo link_to(my_image_tag('/images/icon_video.png','title="'.__('Видеоролики').'"'), '@show_profile?id='.$v->getId()) ?></td>
                                    <td class="ico_txt_otstup"><?php echo link_to(__('Видеоролики'), '@video_list?id='.$v->getId())?></td>
                                  </tr>

                                </tbody></table>
                                
                                <?php if ($sf_user->getProfile()->getGender()=='m' and $v->getIsVip()==true): ?>
                                <table border="0" cellpadding="0" cellspacing="0">
                                  <tbody><tr>
                                    <td width="1%"><?php echo link_to(my_image_tag('/images/ico_help.gif','title="'.__('Подарки').'"'), '@gift_category?id_to='.$v->getId()) ?></td>
                                    <td class="ico_txt_otstup"><?php echo link_to(__('Подарки'), '@gift_category?id_to='.$v->getId())?></td>
                                  </tr>
                                </tbody></table>
                                <?php endif ?>
                                
                                <table border="0" cellpadding="0" cellspacing="0">

                                  <tbody><tr>
                                    <td width="1%"><?php echo link_to(my_image_tag('/images/icon_videochat.png','title="'.__('Пригласить в чат').'"'), '@invite_chat?id='.$v->getId()) ?></td>
                                    <td class="ico_txt_otstup"><?php echo link_to(__('Вызвать в чат'), '@invite_chat?id='.$v->getId())?></td>
                                  </tr>
                                </tbody></table>
                                
                                <table border="0" cellpadding="0" cellspacing="0">
                                  <tbody><tr>
                                    <td width="1%"><?php echo link_to(my_image_tag('/images/icon_friends.png','title="'.__('Добавить в друзья').'"'), '@fav_add?id='.$v->getId()) ?></td>

                                    <td class="ico_txt_otstup"><?php echo link_to(__('Добавить в друзья'), '@fav_add?id='.$v->getId())?></td>
                                  </tr>
                                </tbody></table>
                        	</div>
                        </div>
                    </div>
                </div>
            </div>

        </div>
       
        <?php endif ?>